package cn.dida.service;

import cn.dida.model.Pageable;
import com.alibaba.fastjson.JSONArray;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * Created by zhangzhiling on 2017/9/1.
 */
public interface SalesmanCashService {

    public Pageable<Map<String,Object>> queryList(Integer companyId, String proName, String saleman, String timeLimitStart,
                                                  String timeLimitEnd , Integer page);

    public List<Map<String,Object>> exportList(Integer companyId, String proName, String saleman, String timeLimitStart,
                                               String timeLimitEnd );

    public Boolean paymentSave(Integer companyId, Integer cashId, float totalprize,Integer salesman_id, String openid);

    public Boolean paymentSave_batch_pay(JSONArray js, Integer companyId);

    public void update_callback( Integer payresult,String message_id,String descripe);


    public Pageable<Map<String,Object>> queryPaidList(Integer companyId, String proName, String saleman, String timeLimitStart,
                                                      String timeLimitEnd , Integer page);

    public List<Map<String,Object>> exportPaidList(Integer companyId, String proName, String saleman, String timeLimitStart,
                                                   String timeLimitEnd );
}
